<?php var_dump($this->menu_backend);?>
<div class="col-lg-12" id="container-button-save">
    <div id="main_button" class="btn btn-danger">Lưu Dữ Liệu</div>
    <h1 class="page-header">bản tin điện tử</h1>

</div>
<br/>

<div class="col-lg-12">


    <ul id="myTab" class="nav nav-tabs">
        <li class="active"><a href="#home" class="h_item_tab" >Thông tin chung</a></li>

    </ul>
    <div id="myTabContent" class="tab-content h_tab_content well">
        <?php
        $form = $this->beginWidget('booster.widgets.TbActiveForm', array('htmlOptions' => array('id' => 'h_main_form', 'enctype' => 'multipart/form-data')));
        ?>
        <div class="tab-pane active" id="home">
            <p>

                <?php
                echo $form->textFieldGroup($model, 'title');
                ?>

                <br/>
                <div class="form-group">
                    <label class="control-label error required" for="Newsletter_title">Nội dung <span class="required">*</span></label>
                    <?php
                        if($model->getError('body') != null){
                                echo '<div class="help-block" style="color:#a94442">'.$model->getError('body').'</div>';
                        }
                    ?>
                    
                <?php
                $this->widget('ext.tinymce.TinyMce', array(
                    'model' => $model,
                    'attribute' => 'body',
                    'fileManager' => array(
                        'class' => 'ext.elFinder.TinyMceElFinder',
                        'connectorRoute' => 'filemanager/connector',
                    ),
                ));
                ?>
                   
                </div>
            </p>
        </div>
        <?php
        $this->endWidget();
        unset($form);
        ?>

    </div>


</div>
<script>
    
</script>